- body_id_and_title "registro", "Accede a tu regalo"

- content_for(:left) do
  - if logged_in?
    = render :partial => '/shared/usuario_left'
  - else  
    = render :partial => '/shared/non_usuario_left'

- content_for(:bread) do
  = link_to "Inicio", main_path, :title => "Inicio"
  » Acceso
  
%h2
  Accede a tu regalo

.registro_form{:style => 'margin-left:120px'}
  - form_tag cuentas_path, :class => 'login' do
    %label{"for"=>"usuario"}
      Usuario
    = text_field_tag 'login'

    %label{"for"=>"password"}
      Contraseña
    = password_field_tag 'password'
    = hidden_field_tag 'acceso', 1
    
    %br/
    
    = image_submit_tag "/images/botones/entrar.png", {:alt => 'image/entrar'}
    
  - form_tag begin_cuentas_path do
    %label{"for"=>"openid_url"}
      O usa tu cuenta 
      = link_to "OpenID", "http://es.wikipedia.org/wiki/OpenID"
    = text_field_tag :open_id_url, nil, :id => 'openid_url'
    = hidden_field_tag 'acceso', 1 